<article>
    <div class="mt-logo" >
        <!--顶部导航条 -->
        <div class="am-container header">
            <ul class="message-l">
                <div class="topMessage">
                    <#if Session["LoginUserName"]?exists>
                        欢迎用户:${Session["LoginUserName"]}
                        <a id="exit" href="javascript:void(0)" onclick="exit()" target="_top">退出</a>
                    <#else >
                        <a href="/olalashop/business/home/login.html" target="_top" class="h">亲，请登录</a>
                    </#if>
                    <div class="menu-hd">
                        <a href="/olalashop/business/home/register.html" target="_top">免费注册</a>
                    </div>
                </div>
            </ul>
            <ul class="message-r">
                <div class="topMessage home">
                    <div class="menu-hd"><a href="/olalashop/index/init.do" target="_top" class="h">商城首页</a></div>
                </div>
                <div class="topMessage my-shangcheng">
                    <div class="menu-hd MyShangcheng"><a href="#" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a></div>
                </div>
                <div class="topMessage mini-cart">
                    <div class="menu-hd"><a id="mc-menu-hd" href="/olalashop/orderCartApi/queryAllShopCart.do" target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span><strong id="J_MiniCartNum" class="h">0</strong></a></div>
                </div>
                <div class="topMessage favorite">
                    <div class="menu-hd"><a href="/olalashop/business/person/collection.html" target="_top"><i class="am-icon-heart am-icon-fw"></i><span>收藏夹</span></a></div>
                </div>
            </ul>
        </div>

        <!--悬浮搜索框-->

        <div class="nav white">
            <div class="logoBig">
                <li><img src="/olalashop/business/images/logobig.png" /></li>
            </div>

            <div class="search-bar pr">
                <a name="index_none_header_sysc" href="/olalashop/business/home/search.html"></a>
                <form>
                    <input id="searchInput" name="index_none_header_sysc" type="text" placeholder="搜索" autocomplete="off">
                    <input id="ai-topsearch" class="submit am-btn" value="搜索" index="1" type="submit">
                </form>
            </div>
        </div>

        <div class="clear"></div>
    </div>
    </div>
</article>
<script>
    function exit() {
        $.post({
            url:"/olalashop/cntApi/loginOut.do",
            success:function (msg) {
                if (msg = "10000"){
                    alert("退出成功");
                    window.location.reload();
                }

            }
        });
    }
</script>